package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 机构对象 admin_company
 * 
 * @author ruoyi
 * @date 2020-06-09
 */
public class AdminCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private Long companyId;

    /** 账号 */
    @Excel(name = "账号")
    private String companyNo;

    /** 单位/机构名称 */
    @Excel(name = "单位/机构名称")
    private String companyName;

    /** 密码 */
    private String password;

    /** 负责人 */
    @Excel(name = "负责人")
    private String leader;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 登录IP */
    @Excel(name = "登录IP")
    private String ipAddress;

    /** 本地服务器地址 */
    @Excel(name = "本地服务器地址")
    private String serverAddress;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private String status;

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyNo(String companyNo) 
    {
        this.companyNo = companyNo;
    }

    public String getCompanyNo() 
    {
        return companyNo;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setLeader(String leader) 
    {
        this.leader = leader;
    }

    public String getLeader() 
    {
        return leader;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setIpAddress(String ipAddress) 
    {
        this.ipAddress = ipAddress;
    }

    public String getIpAddress() 
    {
        return ipAddress;
    }
    public void setServerAddress(String serverAddress) 
    {
        this.serverAddress = serverAddress;
    }

    public String getServerAddress() 
    {
        return serverAddress;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyId", getCompanyId())
            .append("companyNo", getCompanyNo())
            .append("companyName", getCompanyName())
            .append("password", getPassword())
            .append("leader", getLeader())
            .append("mobile", getMobile())
            .append("ipAddress", getIpAddress())
            .append("serverAddress", getServerAddress())
            .append("email", getEmail())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
